import * as NProgress from "nprogress";
import "nprogress/nprogress.css";
NProgress.configure({
  easing: "ease",
  speed: 300,
  showSpinner: false,
  //增量加载的速度(毫秒)
  trickleSpeed: 200,
  //更改启动时使用的最小百分比
  minimum: 0.3,
  parent: "body",
});
export const start = () => {
  NProgress.start();
};
export const close = () => {
  NProgress.done();
};
